package com.hwy.catering.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @Data ： 注在类上，提供类的get、set、equals、hashCode、canEqual、toString方法
 */
@Data
public class UserDto {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String account;
    private String name;
    private String img;
    private String token;
}
